<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

	if ( ! function_exists('splitstr'))
	{
// ------------------------------------------------------------------------

/**
	* 将9位帐号分成3块   应该放到  helper
	*
	* Creates an anchor based on the local URL.
	*
	* @access	private
	* @param	string	号码
	* @param	
	* @param	
	* @return	string
*/
			function splitstr($num,$echo = false)
			{
				$v = "&nbsp;";// 分隔字符串		
				$abvc1 = substr($num,0,3);
				$abvc2 = substr($num,3,3);
				$abvc3 = substr($num,6,3);
				
				if($echo == true)
				{
					echo $abvc1.$v.$abvc2.$v.$abvc3;
				}
				else
				{				
					return $abvc1.$v.$abvc2.$v.$abvc3;
				}
			}
		
	}